Optimal. Leaf size=61 \[ \frac{A b x \sqrt{b \cos (c+d x)}}{\sqrt{\cos (c+d x)}}+\frac{b B \sin (c+d x) \sqrt{b \cos (c+d x)}}{d \sqrt{\cos (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0129245, antiderivative size = 61, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 33, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.061, Rules used = {17, 2637} \[ \frac{A b x \sqrt{b \cos (c+d x)}}{\sqrt{\cos (c+d x)}}+\frac{b B \sin (c+d x) \sqrt{b \cos (c+d x)}}{d \sqrt{\cos (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 17
Rule 2637
Rubi steps
\begin{align*} \int \frac{(b \cos (c+d x))^{3/2} (A+B \cos (c+d x))}{\cos ^{\frac{3}{2}}(c+d x)} \, dx &=\frac{\left (b \sqrt{b \cos (c+d x)}\right ) \int (A+B \cos (c+d x)) \, dx}{\sqrt{\cos (c+d x)}}\\ &=\frac{A b x \sqrt{b \cos (c+d x)}}{\sqrt{\cos (c+d x)}}+\frac{\left (b B \sqrt{b \cos (c+d x)}\right ) \int \cos (c+d x) \, dx}{\sqrt{\cos (c+d x)}}\\ &=\frac{A b x \sqrt{b \cos (c+d x)}}{\sqrt{\cos (c+d x)}}+\frac{b B \sqrt{b \cos (c+d x)} \sin (c+d x)}{d \sqrt{\cos (c+d x)}}\\ \end{align*}
Mathematica [A] time = 0.0629073, size = 42, normalized size = 0.69 \[ \frac{(b \cos (c+d x))^{3/2} (A (c+d x)+B \sin (c+d x))}{d \cos ^{\frac{3}{2}}(c+d x)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.237, size = 39, normalized size = 0.6 \begin{align*}{\frac{A \left ( dx+c \right ) +B\sin \left ( dx+c \right ) }{d} \left ( b\cos \left ( dx+c \right ) \right ) ^{{\frac{3}{2}}} \left ( \cos \left ( dx+c \right ) \right ) ^{-{\frac{3}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.91375, size = 54, normalized size = 0.89 \begin{align*} \frac{2 \, A b^{\frac{3}{2}} \arctan \left (\frac{\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1}\right ) + B b^{\frac{3}{2}} \sin \left (d x + c\right )}{d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.70696, size = 516, normalized size = 8.46 \begin{align*} \left [\frac{A \sqrt{-b} b \cos \left (d x + c\right ) \log \left (2 \, b \cos \left (d x + c\right )^{2} - 2 \, \sqrt{b \cos \left (d x + c\right )} \sqrt{-b} \sqrt{\cos \left (d x + c\right )} \sin \left (d x + c\right ) - b\right ) + 2 \, \sqrt{b \cos \left (d x + c\right )} B b \sqrt{\cos \left (d x + c\right )} \sin \left (d x + c\right )}{2 \, d \cos \left (d x + c\right )}, \frac{A b^{\frac{3}{2}} \arctan \left (\frac{\sqrt{b \cos \left (d x + c\right )} \sin \left (d x + c\right )}{\sqrt{b} \cos \left (d x + c\right )^{\frac{3}{2}}}\right ) \cos \left (d x + c\right ) + \sqrt{b \cos \left (d x + c\right )} B b \sqrt{\cos \left (d x + c\right )} \sin \left (d x + c\right )}{d \cos \left (d x + c\right )}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (B \cos \left (d x + c\right ) + A\right )} \left (b \cos \left (d x + c\right )\right )^{\frac{3}{2}}}{\cos \left (d x + c\right )^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]